home *** CD-ROM | disk | FTP | other *** search
- 1-23-92
-
-
- Rest v1.00
- (Shareware)
-
- Written By John Klenk
-
- ************
- Instructions
- ************
-
-
- Ok, I'm sure that you don't want to sit through a few pages of disclaimers
- and useless information, like you were probably expecting. You probably just
- want to know what this program can do and how to use it correctly. I'll make
- these instructions as simple and as brief as I can. If you don't want to read
- this document, you should be able to get all the information you need by
- typing "rest ?" (without the quotes) from the directory in which rest.exe is
- located.
-
- Rest(short for "restore") is a command-line tape restore utility. It is
- only for use with the Tape software that comes with a Colorado tape drive. I
- tested it with Tape version 3.01, but unless the command-line usage of Tape
- changes much in future versions of it, Rest will work with them as well. I
- will most likely be updating Rest, for the main part just to correct any bugs
- which I have not yet found(no serious ones I hope). The reason that I created
- Rest is that the Tape software contains a major flaw, in my view. If you wish
- to restore multiple volumes from a tape, you are basically presented with 2
- choices:
-
- 1.) Use the Tape software in it's normal text-based graphics mode, choose
- the first volume you wish to restore, wait for the volume to finish
- restoring, choose the next volume, and so on.
-
- 2.) Make a batch file that repeatedly calls the command-line form of the
- Tape software. Create multiple identical lines, and simply change
- the /v=# parameter on each line. This is what I used to do.
-
- However, I didn't want to keep using a batch file in that manner. I wanted to
- be able to use a one line instruction to restore multiple volumes, easily
- specifying all of the desired volumes. So I sat down and came up with Rest.
- So, the purpose of Rest is to restore multiple volumes from a tape backed up
- with Colorado's Tape software, all in one command line.
-
- So, without wasting any more of your time, here are the instructions.
- (Remember, most of what is in this document can be learned by typing "rest ?".
-
-
- ˇSyntax is:ˇˇ
-
- ˇ rest [/t=<directory of tape.exe>] [/#=<number of volumes to restore>]ˇˇ
- [/f=<first volume number to restore>] [/e=<volume number to end with>]ˇˇ
- [/r=<#-#> /r=<#> (range of volumes to exclude, can be used repeatedly)]
- [any other parameters for tape.exe]ˇˇ
- ˇ
- [ ] means that the parameter is optional(all parameters are optional).
- < > means to replace the enclosed description with a value.
-
- All of the Rest switches can be used on the same command line. The
- default directory of tape.exe is c:\util\tape (simply because that is where my
- tape.exe is located). If you use a different directory for your Tape soft-
- ware, be sure to specify it with the /t switch. The default first and last
- volume to be restoredˇis number 1. If you use the /#=n switch, you are tell-
- ing Rest that you wish to restore all of the volumes from 1 through n. If you
- use the /f=n switch, you are telling Rest that the first volume to be restored
- is n. The /e=n switch tells Rest that the last volume to be restored will be
- n. The /r switch can be used in two different forms, and both can be used
- repeatedly on the same command-line. You can either type /r=#-#, and exclude
- all the volumes from the first number through the second, or you can type
- /r=# and exclude a single volume. This can be quite useful. You can also
- enter any of the parameters accepted by the Tape software, EXCEPT for the /v
- switch. This is due to the fact that Rest itself tells the tape.exe file
- which volumes will be restored. If you do use the /v switch, Rest will abort.
- Note that it is not necessary to use ANY command line parameters. Ifˇno
- parameters are used, it will have the same effect as typing "tape restore" -
- only volume number 1 will be restored.
-
-
- Example of all of the Rest command line parameters as they could be used:ˇˇ
- ˇ
- ˇˇ rest /#=15 /f=3 /e=13 /r=5-6 /r=8-11 /r=13 /t=d:\tapeˇˇ
- ˇ
- Notice, that with the /# switch, you can specify a larger number of
- volumes thanˇyou will actually be restoring. The /e switch will override the
- /# switch,ˇso in the above example, the /#=15 had NO effect. Also, the /r
- switch willˇtake priority over the /f, /e, and the /# switches. By using
- /t=d:\tape, Restˇwill search for the tape.exe file is in the directory
- "d:\tape".ˇˇ
- ˇ
- Keep in mind that the maximum number of volumes that can be restored is
- 255, soˇif a higher number is specified, Rest will abort.ˇˇ
- ˇ
- The /v switch, used by the tape.exe software, will not be accepted.ˇˇ
- ˇ
- Using /? will bring up the tape.exe help menu. The Rest help screen will
- comeˇup if any Rest parameter was entered incorrectly or the parameter ? is
- used.ˇˇ
-
-
- ˇˇMore examples of switches in use:ˇˇ
- ˇˇ---------------------------------ˇˇ
- ˇ
- ˇˇ /#=35 --> Restores volumes 1 through 35.ˇˇ
- ˇˇ /f=5 --> The first volume to be restored will be number 5.ˇˇ
- ˇˇ /e=50 --> The final volume to be restored will be number 50.ˇˇ
- ˇˇ /r=18 --> Volume 18 will not be restored.ˇˇ
- ˇˇ /r=3-9 --> Volumes 3 through 9 will not be restored.ˇˇ
- ˇˇ/r=2 /r=5-8 /r=65 --> Volumes 2, 5, 6, 7, 8, and 65 will not be restored.ˇˇ
- ˇˇ /t=c:\util\jumbo --> Rest will look in c:\util\jumbo for tape.exe.ˇˇ
-
-
- ˇˇRemember: The /e switch will override the /# switch,ˇˇ
-
- ANDˇˇ
- ˇ
- ˇˇ The /r switch will override the /f, /e, and /# switches.ˇˇ
-
-
- If you have typed in a valid command line, you will be presented with a
- list of all the volumes that you have chosen to restore. If the list is not
- what you wanted, hit the Escape key at this point. If it is what you want,
- hit any other key. In between volumes, Rest will pause for a few seconds,
- giving you a chance to quit the restoration process early by hitting the
- escape key. The main reason for my including this option is that the Tape
- software prevents the use of Control-Break to exit.
-
- The only known bug in Rest v1.00 is one which I currently do not know how
- to fix: If the drive to which you are restoring becomes full while restoring
- a volume, the Tape software will abort the restoration of that particular vol-
- ume, but Rest will continue to attempt to restore the other volumes. This is
- not a serious problem, and you would have the same problem if you were restor-
- ing via a batch file, but I would like to find out how to detect the error
- codes produced by the Tape software, if possible, to enhance Rest. Of course,
- this problem is easily avoidable by making sure that you have plenty of space
- on your hard drive.
-
-
- ---------------------------------------------------------------------------
-
- Rest v1.00 is shareware, and I do not demand any money for it's use. All
- that I ask for is that you spread it around for everyone to use. If you feel
- that I have provided you with a useful program, and/or you have found any bugs
- in Rest, please feel free to leave mail to John Klenk on any major bulletin-
- board nets across the country. Or, if you have Internet access, please leave
- me mail at: klenk@cs.odu.edu. I will have that address through May of 1993.
-
- If you would like to make a small contribution for my efforts, or if you
- would like to reach me through the U.S. mail, my address is:
-
-
- John Klenk, Jr.
- 11212 Chestnut Grove Square, Apt. #313
- Reston, VA 22090